﻿@using Happy.Cms.Query.Articles
@model  IEnumerable<ArticleView>

<div class="row">
    <div class="col-xs-4">
        <div>
            @{ Html.RenderAction("TopNews", "Partial"); }
        </div>
        <div style="margin: 10px 0px 0px 0px">
            @{ Html.RenderAction("TopArticles", "Partial"); }
        </div>
    </div>
    <div class="col-xs-8">
        @foreach (var article in this.Model)
        {
            <div class="jumbotron">
                <h1>@article.Title</h1>
                <div style="height: 130px; overflow: hidden;">@this.Html.Raw(article.Content)</div>
                <p><a href="/Tenoner/Article/Detail/@article.Id" class="btn btn-primary btn-lg" role="button">详细</a></p>
            </div>
        }
    </div>
</div>
